package com.qing.library_manager.domain.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * <p>TODO</p>
 *
 * @author Yjx
 * @version 1.0.0
 * @since 2021/11/29
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BorrowUpdateQuery {

    private int borrowShowId;

    private String readersName;

    private String bookName;

    private String bookAuthorName;

    private String borrowReturn;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime bookBorrow;

}
